package edu.toronto.whimper.GeneralObjects;

public class Range {
	
	private int from; 
	private int to;    
  
    public Range(int from, int to)
    {        
        this.from = from;  
        this.to = to;
    }
    @Override
    public String toString()
    {
        return "From: " + Integer.toString(getFrom()) +" To: " + Integer.toString(getTo());
    }

    /**
     * @return from
     */
    public int getFrom() {
        return from;
    }

    /**
     * @param from
     */
    public void setFrom(int from) {
        this.from = from;
    }
    
    /**
     * @return the to
     */
    public int getTo() {
        return to;
    }

    /**
     * @param to
     */
    public void setTo(int to) {
        this.to = to;
    }
    
    
}


